home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QuickTime 1.5 for Developers
/
QuickTime 1.5 for Developers.iso
/
Goodies
/
Aldus Fetch™
/
Fetch Browser
/
Fetch Browser.rsrc
/
CODE_76_APictureUtils.txt
< prev
next >
Wrap
Text File
|
1992-10-27
|
32KB
|
568 lines
# near model CODE resource
# jump table entries: 17016-17019 (4 of them)
export_2127:
00000000 4E56 0000 link A6, 0
00000004 42A7 clr.l -[A7]
00000006 2F3C 5049 4354 move.l -[A7], 0x50494354 /* 'PICT' */
0000000C 3F2E 0008 move.w -[A7], [A6 + 0x8]
00000010 A81F syscall Get1Resource
00000012 2D5F 000A move.l [A6 + 0xA], [A7]+
00000016 4E5E unlink A6
00000018 205F movea.l A0, [A7]+
0000001A 544F addq.w A7, 2
0000001C 4ED0 jmp [A0]
0000001E 8B47 4554 pack D5, D7, 0x4554
00000022 3150 4943 move.w [A0 + 0x4943], [A0]
00000026 5455 addq.w [A5], 2
00000028 5245 addq.w D5, 1
0000002A 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 0000002C-00000032
fn0000002C:
0000002C 4E56 0000 link A6, 0
00000030 7000 moveq.l D0, 0x00
// end alternate branch 0000002C-00000032
fn0000002C: // (misaligned)
0000002E 0000 7000 ori.b D0, 0x0
00000032 206E 0008 movea.l A0, [A6 + 0x8]
00000036 3028 0006 move.w D0, [A0 + 0x6]
0000003A C0BC FFFF C000 and.l D0, 0xFFFFC000
00000040 4A80 tst.l D0
00000042 56C0 sne D0
00000044 4400 neg.b D0
00000046 1D40 000C move.b [A6 + 0xC], D0
0000004A 4E5E unlink A6
0000004C 2E9F move.l [A7], [A7]+
0000004E 4E75 rts
00000050 8B49 5343 pack -[A5], -[A1], 0x5343
00000054 4F4C chk.w D7, A4
00000056 4F52 chk.w D7, [A2]
00000058 504F addq.w A7, 8
0000005A 5254 addq.w [A4], 1
0000005C 0000 0000 ori.b D0, 0x0
fn00000060:
00000060 4E56 0000 link A6, 0
00000064 2F0C move.l -[A7], A4
00000066 286E 0008 movea.l A4, [A6 + 0x8]
0000006A 4254 clr.w [A4]
0000006C 7000 moveq.l D0, 0x00
0000006E 2940 0002 move.l [A4 + 0x2], D0
00000072 7000 moveq.l D0, 0x00
00000074 2940 0006 move.l [A4 + 0x6], D0
00000078 7000 moveq.l D0, 0x00
0000007A 2940 000A move.l [A4 + 0xA], D0
0000007E 7000 moveq.l D0, 0x00
00000080 2940 000E move.l [A4 + 0xE], D0
00000084 7000 moveq.l D0, 0x00
00000086 2940 0012 move.l [A4 + 0x12], D0
0000008A 397C 0001 0016 move.w [A4 + 0x16], 0x1
00000090 486C 0018 pea.l [A4 + 0x18]
00000094 42A7 clr.l -[A7]
00000096 42A7 clr.l -[A7]
00000098 A8A7 syscall SetRect
0000009A 7000 moveq.l D0, 0x00
0000009C 2940 0020 move.l [A4 + 0x20], D0
000000A0 7000 moveq.l D0, 0x00
000000A2 2940 0024 move.l [A4 + 0x24], D0
000000A6 7000 moveq.l D0, 0x00
000000A8 2940 0028 move.l [A4 + 0x28], D0
000000AC 7000 moveq.l D0, 0x00
000000AE 2940 002C move.l [A4 + 0x2C], D0
000000B2 7000 moveq.l D0, 0x00
000000B4 2940 0030 move.l [A4 + 0x30], D0
000000B8 7000 moveq.l D0, 0x00
000000BA 2940 0034 move.l [A4 + 0x34], D0
000000BE 7000 moveq.l D0, 0x00
000000C0 2940 0038 move.l [A4 + 0x38], D0
000000C4 7000 moveq.l D0, 0x00
000000C6 2940 003C move.l [A4 + 0x3C], D0
000000CA 7000 moveq.l D0, 0x00
000000CC 2940 0040 move.l [A4 + 0x40], D0
000000D0 7000 moveq.l D0, 0x00
000000D2 2940 0044 move.l [A4 + 0x44], D0
000000D6 7000 moveq.l D0, 0x00
000000D8 2940 0048 move.l [A4 + 0x48], D0
000000DC 7000 moveq.l D0, 0x00
000000DE 2940 004C move.l [A4 + 0x4C], D0
000000E2 7000 moveq.l D0, 0x00
000000E4 2940 0050 move.l [A4 + 0x50], D0
000000E8 7000 moveq.l D0, 0x00
000000EA 2940 0054 move.l [A4 + 0x54], D0
000000EE 7000 moveq.l D0, 0x00
000000F0 2940 0058 move.l [A4 + 0x58], D0
000000F4 7000 moveq.l D0, 0x00
000000F6 2940 005C move.l [A4 + 0x5C], D0
000000FA 7000 moveq.l D0, 0x00
000000FC 2940 0060 move.l [A4 + 0x60], D0
00000100 7000 moveq.l D0, 0x00
00000102 2940 0064 move.l [A4 + 0x64], D0
00000106 285F movea.l A4, [A7]+
00000108 4E5E unlink A6
0000010A 2E9F move.l [A7], [A7]+
0000010C 4E75 rts
0000010E 8D43 4C45 pack D6, D3, 0x4C45
00000112 4152 chk.w D0, [A2]
00000114 5049 addq.w A1, 8
00000116 4354 chk.w D1, [A4]
00000118 494E chk.w D4, A6
0000011A 464F not.w A7
0000011C 0000 0000 ori.b D0, 0x0
00000120 4E56 0000 link A6, 0
00000124 52AD EE9C addq.l [A5 - 0x1164], 1
00000128 4E5E unlink A6
0000012A 205F movea.l A0, [A7]+
0000012C DEFC 000E add.w A7, 0xE
00000130 4ED0 jmp [A0]
00000132 8943 4F55 pack D4, D3, 0x4F55
00000136 4E54 5445 link A4, -0xFFFFABBB
0000013A 5854 addq.w [A4], 4
0000013C 0000 0000 ori.b D0, 0x0
00000140 4E56 0000 link A6, 0
00000144 52AD EEA0 addq.l [A5 - 0x1160], 1
00000148 4E5E unlink A6
0000014A 2E9F move.l [A7], [A7]+
0000014C 4E75 rts
0000014E 8943 4F55 pack D4, D3, 0x4F55
00000152 4E54 4C49 link A4, -0xFFFFB3B7
00000156 4E45 trap 5
00000158 0000 0000 ori.b D0, 0x0
0000015C 4E56 FFF8 link A6, -0x0008
00000160 206E 0008 movea.l A0, [A6 + 0x8]
00000164 43EE FFF8 lea.l A1, [A6 - 0x8]
00000168 22D8 move.l [A1]+, [A0]+
0000016A 22D8 move.l [A1]+, [A0]+
0000016C 52AD EEA4 addq.l [A5 - 0x115C], 1
00000170 4E5E unlink A6
00000172 205F movea.l A0, [A7]+
00000174 5C4F addq.w A7, 6
00000176 4ED0 jmp [A0]
00000178 8943 4F55 pack D4, D3, 0x4F55
0000017C 4E54 5245 link A4, -0xFFFFADBB
00000180 4354 chk.w D1, [A4]
00000182 0000 4E56 ori.b D0, 0x56 /* 'V' */
00000186 FFF8 .invalid <<F/7/7>>
00000188 206E 000C movea.l A0, [A6 + 0xC]
0000018C 43EE FFF8 lea.l A1, [A6 - 0x8]
00000190 22D8 move.l [A1]+, [A0]+
00000192 22D8 move.l [A1]+, [A0]+
00000194 52AD EEA8 addq.l [A5 - 0x1158], 1
00000198 4E5E unlink A6
0000019A 205F movea.l A0, [A7]+
0000019C DEFC 000A add.w A7, 0xA /* '\n' */
000001A0 4ED0 jmp [A0]
000001A2 8A43 or.w D5, D3
000001A4 4F55 chk.w D7, [A5]
000001A6 4E54 5252 link A4, -0xFFFFADAE
000001AA 4543 chk.w D2, D3
000001AC 5400 addq.b D0, 2
000001AE 0000 4E56 ori.b D0, 0x56 /* 'V' */
000001B2 FFF8 .invalid <<F/7/7>>
000001B4 206E 0008 movea.l A0, [A6 + 0x8]
000001B8 43EE FFF8 lea.l A1, [A6 - 0x8]
000001BC 22D8 move.l [A1]+, [A0]+
000001BE 22D8 move.l [A1]+, [A0]+
000001C0 52AD EEAC addq.l [A5 - 0x1154], 1
000001C4 4E5E unlink A6
000001C6 205F movea.l A0, [A7]+
000001C8 5C4F addq.w A7, 6
000001CA 4ED0 jmp [A0]
000001CC 8943 4F55 pack D4, D3, 0x4F55
000001D0 4E54 4F56 link A4, -0xFFFFB0AA
000001D4 414C chk.w D0, A4
000001D6 0000 4E56 ori.b D0, 0x56 /* 'V' */
000001DA FFF8 .invalid <<F/7/7>>
000001DC 206E 000C movea.l A0, [A6 + 0xC]
000001E0 43EE FFF8 lea.l A1, [A6 - 0x8]
000001E4 22D8 move.l [A1]+, [A0]+
000001E6 22D8 move.l [A1]+, [A0]+
000001E8 52AD EEB0 addq.l [A5 - 0x1150], 1
000001EC 4E5E unlink A6
000001EE 205F movea.l A0, [A7]+
000001F0 DEFC 000A add.w A7, 0xA /* '\n' */
000001F4 4ED0 jmp [A0]
000001F6 8843 or.w D4, D3
000001F8 4F55 chk.w D7, [A5]
000001FA 4E54 4152 link A4, -0xFFFFBEAE
000001FE 4300 .invalid 1, D0 // invalid opcode 4 with b == 4
00000200 0000 0000 ori.b D0, 0x0
00000204 4E56 0000 link A6, 0
00000208 52AD EEB4 addq.l [A5 - 0x114C], 1
0000020C 4E5E unlink A6
0000020E 205F movea.l A0, [A7]+
00000210 5C4F addq.w A7, 6
00000212 4ED0 jmp [A0]
00000214 8943 4F55 pack D4, D3, 0x4F55
00000218 4E54 504F link A4, -0xFFFFAFB1
0000021C 4C59 0000 movem.l <none>, [A1]+
00000220 4E56 FFFE link A6, -0x0002
00000224 2F07 move.l -[A7], D7
00000226 7000 moveq.l D0, 0x00
00000228 206E 0016 movea.l A0, [A6 + 0x16]
0000022C 3028 0004 move.w D0, [A0 + 0x4]
00000230 C0BC FFFF 8000 and.l D0, 0xFFFF8000
00000236 4A80 tst.l D0
00000238 670E beq +0x10 /* 00000248 */
0000023A 52AD EEC0 addq.l [A5 - 0x1140], 1
0000023E 206E 0016 movea.l A0, [A6 + 0x16]
00000242 3E28 0020 move.w D7, [A0 + 0x20]
00000246 6006 bra +0x8 /* 0000024E */
label00000248:
00000248 52AD EEBC addq.l [A5 - 0x1144], 1
0000024C 7E01 moveq.l D7, 0x01
label0000024E:
0000024E BE6D EE92 cmp.w D7, [A5 - 0x116E]
00000252 6F04 ble +0x6 /* 00000258 */
00000254 3B47 EE92 move.w [A5 - 0x116E], D7
label00000258:
00000258 2E1F move.l D7, [A7]+
0000025A 4E5E unlink A6
0000025C 205F movea.l A0, [A7]+
0000025E DEFC 0012 add.w A7, 0x12
00000262 4ED0 jmp [A0]
00000264 8943 4F55 pack D4, D3, 0x4F55
00000268 4E54 4249 link A4, -0xFFFFBDB7
0000026C 5453 addq.w [A3], 2
0000026E 0000 4E56 ori.b D0, 0x56 /* 'V' */
00000272 0000 52AD ori.b D0, 0xAD
00000276 EEC4 4E5E bfset D4 {D1:30}
0000027A 205F movea.l A0, [A7]+
0000027C 504F addq.w A7, 8
0000027E 4ED0 jmp [A0]
00000280 8C43 or.w D6, D3
00000282 4F55 chk.w D7, [A5]
00000284 4E54 434F link A4, -0xFFFFBCB1
00000288 4D4D chk.w D6, A5
0000028A 454E chk.w D2, A6
0000028C 5400 addq.b D0, 2
0000028E 0000 4E56 ori.b D0, 0x56 /* 'V' */
// begin alternate branch 00000290-00000294
fn00000290:
00000290 4E56 FF78 link A6, -0x0088
// end alternate branch 00000290-00000294
fn00000290: // (misaligned)
00000292 FF78 .extension 0xF78 <<F/4-5/7>> // unimplemented
00000294 206D FE3A movea.l A0, [A5 - 0x1C6]
00000298 2D68 0068 FFFC move.l [A6 - 0x4], [A0 + 0x68]
0000029E 4267 clr.w -[A7]
000002A0 2F2D FE3A move.l -[A7], [A5 - 0x1C6]
000002A4 4EBA FD86 jsr [PC - 0x27A /* 0000002C */]
000002A8 101F move.b D0, [A7]+
000002AA 6700 008A beq +0x8C /* 00000336 */
000002AE 486E FFAC pea.l [A6 - 0x54]
000002B2 AA4E syscall SetStdCProcs
000002B4 41FA FE6A lea.l A0, [PC - 0x196 /* 00000120, value 0x4E560000 'NV\0\0', cstring "NV" */]
000002B8 2D48 FFAC move.l [A6 - 0x54], A0
000002BC 41FA FE82 lea.l A0, [PC - 0x17E /* 00000140, value 0x4E560000 'NV\0\0', cstring "NV" */]
000002C0 2D48 FFB0 move.l [A6 - 0x50], A0
000002C4 41FA FE96 lea.l A0, [PC - 0x16A /* 0000015C, value 0x4E56FFF8 */]
000002C8 2D48 FFB4 move.l [A6 - 0x4C], A0
000002CC 41FA FEB6 lea.l A0, [PC - 0x14A /* 00000184, value 0x4E56FFF8 */]
000002D0 2D48 FFB8 move.l [A6 - 0x48], A0
000002D4 41FA FEDA lea.l A0, [PC - 0x126 /* 000001B0, value 0x4E56FFF8 */]
000002D8 2D48 FFBC move.l [A6 - 0x44], A0
000002DC 41FA FEFA lea.l A0, [PC - 0x106 /* 000001D8, value 0x4E56FFF8 */]
000002E0 2D48 FFC0 move.l [A6 - 0x40], A0
000002E4 41FA FF1E lea.l A0, [PC - 0xE2 /* 00000204, value 0x4E560000 'NV\0\0', cstring "NV" */]
000002E8 2D48 FFC4 move.l [A6 - 0x3C], A0
000002EC 41FA FF32 lea.l A0, [PC - 0xCE /* 00000220, value 0x4E56FFFE */]
000002F0 2D48 FFCC move.l [A6 - 0x34], A0
000002F4 41FA FF7A lea.l A0, [PC - 0x86 /* 00000270, value 0x4E560000 'NV\0\0', cstring "NV" */]
000002F8 2D48 FFD0 move.l [A6 - 0x30], A0
000002FC 206D FE3A movea.l A0, [A5 - 0x1C6]
00000300 4AA8 0068 tst.l [A0 + 0x68]
00000304 56C0 sne D0
00000306 4A00 tst.b D0
00000308 671C beq +0x1E /* 00000326 */
0000030A 2068 0068 movea.l A0, [A0 + 0x68]
0000030E 4AA8 002C tst.l [A0 + 0x2C]
00000312 56C1 sne D1
00000314 C001 and.b D0, D1
00000316 670E beq +0x10 /* 00000326 */
00000318 206D FE3A movea.l A0, [A5 - 0x1C6]
0000031C 2068 0068 movea.l A0, [A0 + 0x68]
00000320 2D68 002C FFD8 move.l [A6 - 0x28], [A0 + 0x2C]
label00000326:
00000326 41EE FFAC lea.l A0, [A6 - 0x54]
0000032A 226D FE3A movea.l A1, [A5 - 0x1C6]
0000032E 2348 0068 move.l [A1 + 0x68], A0
00000332 6000 0086 bra +0x88 /* 000003BA */
label00000336:
00000336 486E FF78 pea.l [A6 - 0x88]
0000033A A8EA syscall SetStdProcs
0000033C 41FA FDE2 lea.l A0, [PC - 0x21E /* 00000120, value 0x4E560000 'NV\0\0', cstring "NV" */]
00000340 2D48 FF78 move.l [A6 - 0x88], A0
00000344 41FA FDFA lea.l A0, [PC - 0x206 /* 00000140, value 0x4E560000 'NV\0\0', cstring "NV" */]
00000348 2D48 FF7C move.l [A6 - 0x84], A0
0000034C 41FA FE0E lea.l A0, [PC - 0x1F2 /* 0000015C, value 0x4E56FFF8 */]
00000350 2D48 FF80 move.l [A6 - 0x80], A0
00000354 41FA FE2E lea.l A0, [PC - 0x1D2 /* 00000184, value 0x4E56FFF8 */]
00000358 2D48 FF84 move.l [A6 - 0x7C], A0
0000035C 41FA FE52 lea.l A0, [PC - 0x1AE /* 000001B0, value 0x4E56FFF8 */]
00000360 2D48 FF88 move.l [A6 - 0x78], A0
00000364 41FA FE72 lea.l A0, [PC - 0x18E /* 000001D8, value 0x4E56FFF8 */]
00000368 2D48 FF8C move.l [A6 - 0x74], A0
0000036C 41FA FE96 lea.l A0, [PC - 0x16A /* 00000204, value 0x4E560000 'NV\0\0', cstring "NV" */]
00000370 2D48 FF90 move.l [A6 - 0x70], A0
00000374 41FA FEAA lea.l A0, [PC - 0x156 /* 00000220, value 0x4E56FFFE */]
00000378 2D48 FF98 move.l [A6 - 0x68], A0
0000037C 41FA FEF2 lea.l A0, [PC - 0x10E /* 00000270, value 0x4E560000 'NV\0\0', cstring "NV" */]
00000380 2D48 FF9C move.l [A6 - 0x64], A0
00000384 206D FE3A movea.l A0, [A5 - 0x1C6]
00000388 4AA8 0068 tst.l [A0 + 0x68]
0000038C 56C0 sne D0
0000038E 4A00 tst.b D0
00000390 671C beq +0x1E /* 000003AE */
00000392 2068 0068 movea.l A0, [A0 + 0x68]
00000396 4AA8 002C tst.l [A0 + 0x2C]
0000039A 56C1 sne D1
0000039C C001 and.b D0, D1
0000039E 670E beq +0x10 /* 000003AE */
000003A0 206D FE3A movea.l A0, [A5 - 0x1C6]
000003A4 2068 0068 movea.l A0, [A0 + 0x68]
000003A8 2D68 002C FFA4 move.l [A6 - 0x5C], [A0 + 0x2C]
label000003AE:
000003AE 41EE FF78 lea.l A0, [A6 - 0x88]
000003B2 226D FE3A movea.l A1, [A5 - 0x1C6]
000003B6 2348 0068 move.l [A1 + 0x68], A0
label000003BA:
000003BA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000003BE 206E 0008 movea.l A0, [A6 + 0x8]
000003C2 2050 movea.l A0, [A0]
000003C4 4868 0002 pea.l [A0 + 0x2]
000003C8 A8F6 syscall DrawPicture
000003CA 206D FE3A movea.l A0, [A5 - 0x1C6]
000003CE 216E FFFC 0068 move.l [A0 + 0x68], [A6 - 0x4]
000003D4 4E5E unlink A6
000003D6 2E9F move.l [A7], [A7]+
000003D8 4E75 rts
000003DA 9443 sub.w D2, D3
000003DC 4F55 chk.w D7, [A5]
000003DE 4E54 5049 link A4, -0xFFFFAFB7
000003E2 4354 chk.w D1, [A4]
000003E4 5552 subq.w [A2], 2
000003E6 4545 chk.w D2, D5
000003E8 4C45 4D45 movem.l D0,D2,D6,A0,A2,A3,A6, D5
000003EC 4E54 5300 link A4, -0xFFFFAD00
000003F0 0000 0000 ori.b D0, 0x0
export_2128:
000003F4 4E56 FFE6 link A6, -0x001A
000003F8 48E7 0108 movem.l -[A7], D7,A4
000003FC 286E 0014 movea.l A4, [A6 + 0x14]
00000400 4247 clr.w D7
00000402 102D EEE4 move.b D0, [A5 - 0x111C]
00000406 671A beq +0x1C /* 00000422 */
00000408 4267 clr.w -[A7]
0000040A 2F0C move.l -[A7], A4
0000040C 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000410 2F2E 000C move.l -[A7], [A6 + 0xC]
00000414 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000418 303C 0800 move.w D0, 0x800
0000041C A831 syscall Pack15
0000041E 3E1F move.w D7, [A7]+
00000420 6040 bra +0x42 /* 00000462 */
label00000422:
00000422 486D EE7C pea.l [A5 - 0x1184]
00000426 4EBA FC38 jsr [PC - 0x3C8 /* 00000060 */]
0000042A 2F0C move.l -[A7], A4
0000042C 486E FFE6 pea.l [A6 - 0x1A]
00000430 4EBA 00BA jsr [PC + 0xBA /* 000004EC */]
00000434 41ED EE94 lea.l A0, [A5 - 0x116C]
00000438 43EE FFE6 lea.l A1, [A6 - 0x1A]
0000043C 20D9 move.l [A0]+, [A1]+
0000043E 20D9 move.l [A0]+, [A1]+
00000440 2B6E FFEE EE8A move.l [A5 - 0x1176], [A6 - 0x12]
00000446 2B6E FFF2 EE8E move.l [A5 - 0x1172], [A6 - 0xE]
0000044C 2F0C move.l -[A7], A4
0000044E 4EBA FE40 jsr [PC - 0x1C0 /* 00000290 */]
00000452 206E 0010 movea.l A0, [A6 + 0x10]
00000456 43ED EE7C lea.l A1, [A5 - 0x1184]
0000045A 7019 moveq.l D0, 0x19
label0000045C:
0000045C 20D9 move.l [A0]+, [A1]+
0000045E 51C8 FFFC dbf D0, -0x6 /* 0000045C */
label00000462:
00000462 3D47 0018 move.w [A6 + 0x18], D7
00000466 4CDF 1080 movem.l D7,A4, [A7]+
0000046A 4E5E unlink A6
0000046C 205F movea.l A0, [A7]+
0000046E DEFC 0010 add.w A7, 0x10
00000472 4ED0 jmp [A0]
00000474 8E47 or.w D7, D7
00000476 4554 chk.w D2, [A4]
00000478 5049 addq.w A1, 8
0000047A 4354 chk.w D1, [A4]
0000047C 5552 subq.w [A2], 2
0000047E 4549 chk.w D2, A1
00000480 4E46 trap 6
00000482 4F00 .invalid 7, D0 // invalid opcode 4 with b == 4
00000484 0000 0000 ori.b D0, 0x0
export_2129:
fn00000488:
00000488 4E56 0000 link A6, 0
0000048C 206E 0008 movea.l A0, [A6 + 0x8]
00000490 2050 movea.l A0, [A0]
00000492 4240 clr.w D0
00000494 1028 000A move.b D0, [A0 + 0xA]
00000498 7211 moveq.l D1, 0x11
0000049A B240 cmp.w D1, D0
0000049C 6612 bne +0x14 /* 000004B0 */
0000049E 206E 0008 movea.l A0, [A6 + 0x8]
000004A2 2050 movea.l A0, [A0]
000004A4 4240 clr.w D0
000004A6 1028 000B move.b D0, [A0 + 0xB]
000004AA 3D40 000C move.w [A6 + 0xC], D0
000004AE 6020 bra +0x22 /* 000004D0 */
label000004B0:
000004B0 206E 0008 movea.l A0, [A6 + 0x8]
000004B4 2050 movea.l A0, [A0]
000004B6 7011 moveq.l D0, 0x11
000004B8 B068 000A cmp.w D0, [A0 + 0xA]
000004BC 660E bne +0x10 /* 000004CC */
000004BE 206E 0008 movea.l A0, [A6 + 0x8]
000004C2 2050 movea.l A0, [A0]
000004C4 3D68 000C 000C move.w [A6 + 0xC], [A0 + 0xC]
000004CA 6004 bra +0x6 /* 000004D0 */
label000004CC:
000004CC 426E 000C clr.w [A6 + 0xC]
label000004D0:
000004D0 4E5E unlink A6
000004D2 2E9F move.l [A7], [A7]+
000004D4 4E75 rts
000004D6 9147 subx.w D0, D7
000004D8 4554 chk.w D2, [A4]
000004DA 5049 addq.w A1, 8
000004DC 4354 chk.w D1, [A4]
000004DE 5552 subq.w [A2], 2
000004E0 4556 chk.w D2, [A6]
000004E2 4552 chk.w D2, [A2]
000004E4 5349 subq.w A1, 1
000004E6 4F4E chk.w D7, A6
000004E8 0000 0000 ori.b D0, 0x0
fn000004EC:
000004EC 4E56 0000 link A6, 0
000004F0 48E7 0018 movem.l -[A7], A3,A4
000004F4 266E 000C movea.l A3, [A6 + 0xC]
000004F8 286E 0008 movea.l A4, [A6 + 0x8]
000004FC 2F0C move.l -[A7], A4
000004FE 42A7 clr.l -[A7]
00000500 42A7 clr.l -[A7]
00000502 A8A7 syscall SetRect
00000504 42A7 clr.l -[A7]
00000506 2F3C 0001 0048 move.l -[A7], 0x10048
0000050C A869 syscall FixRatio
0000050E 295F 0008 move.l [A4 + 0x8], [A7]+
00000512 42A7 clr.l -[A7]
00000514 2F3C 0001 0048 move.l -[A7], 0x10048
0000051A A869 syscall FixRatio
0000051C 295F 000C move.l [A4 + 0xC], [A7]+
00000520 42AC 0010 clr.l [A4 + 0x10]
00000524 7000 moveq.l D0, 0x00
00000526 2940 0014 move.l [A4 + 0x14], D0
0000052A 200B move.l D0, A3
0000052C 674C beq +0x4E /* 0000057A */
0000052E 2053 movea.l A0, [A3]
00000530 5488 addq.l A0, 2
00000532 224C movea.l A1, A4
00000534 22D8 move.l [A1]+, [A0]+
00000536 22D8 move.l [A1]+, [A0]+
00000538 4267 clr.w -[A7]
0000053A 2F0B move.l -[A7], A3
0000053C 4EBA FF4A jsr [PC - 0xB6 /* 00000488 */]
00000540 0C5F 02FF cmpi.w [A7]+, 0x2FF
00000544 6634 bne +0x36 /* 0000057A */
00000546 2053 movea.l A0, [A3]
00000548 0C68 0C00 000E cmpi.w [A0 + 0xE], 0xC00
0000054E 662A bne +0x2C /* 0000057A */
00000550 70FE moveq.l D0, 0xFFFFFFFE
00000552 B068 0010 cmp.w D0, [A0 + 0x10]
00000556 6622 bne +0x24 /* 0000057A */
00000558 3968 0010 0010 move.w [A4 + 0x10], [A0 + 0x10]
0000055E 2053 movea.l A0, [A3]
00000560 2968 0014 0008 move.l [A4 + 0x8], [A0 + 0x14]
00000566 2053 movea.l A0, [A3]
00000568 2968 0018 000C move.l [A4 + 0xC], [A0 + 0x18]
0000056E 2053 movea.l A0, [A3]
00000570 41E8 001C lea.l A0, [A0 + 0x1C]
00000574 224C movea.l A1, A4
00000576 22D8 move.l [A1]+, [A0]+
00000578 22D8 move.l [A1]+, [A0]+
label0000057A:
0000057A 4CDF 1800 movem.l A3,A4, [A7]+
0000057E 4E5E unlink A6
00000580 205F movea.l A0, [A7]+
00000582 504F addq.w A7, 8
00000584 4ED0 jmp [A0]
00000586 9647 sub.w D3, D7
00000588 4554 chk.w D2, [A4]
0000058A 4558 chk.w D2, [A0]+
0000058C 5445 addq.w D5, 2
0000058E 4E44 trap 4
00000590 4544 chk.w D2, D4
00000592 5049 addq.w A1, 8
00000594 4354 chk.w D1, [A4]
00000596 5552 subq.w [A2], 2
00000598 4549 chk.w D2, A1
0000059A 4E46 trap 6
0000059C 4F00 .invalid 7, D0 // invalid opcode 4 with b == 4
0000059E 0000 4E56 ori.b D0, 0x56 /* 'V' */
export_2130: // at 000005A0 (misaligned)
000005A2 FF92 .invalid <<F/6/7>>
000005A4 48E7 0300 movem.l -[A7], D6,D7
000005A8 206E 0008 movea.l A0, [A6 + 0x8]
000005AC 43EE FF98 lea.l A1, [A6 - 0x68]
000005B0 7019 moveq.l D0, 0x19
label000005B2:
000005B2 22D8 move.l [A1]+, [A0]+
000005B4 51C8 FFFC dbf D0, -0x6 /* 000005B2 */
000005B8 2C2E FF9A move.l D6, [A6 - 0x66]
000005BC 4247 clr.w D7
label000005BE:
000005BE 4A86 tst.l D6
000005C0 6F06 ble +0x8 /* 000005C8 */
000005C2 E28E lsr D6, 1
000005C4 5247 addq.w D7, 1
000005C6 60F6 bra -0x8 /* 000005BE */
label000005C8:
000005C8 7001 moveq.l D0, 0x01
000005CA B047 cmp.w D0, D7
000005CC 6D04 blt +0x6 /* 000005D2 */
000005CE 7E01 moveq.l D7, 0x01
000005D0 6020 bra +0x22 /* 000005F2 */
label000005D2:
000005D2 7004 moveq.l D0, 0x04
000005D4 B047 cmp.w D0, D7
000005D6 6D04 blt +0x6 /* 000005DC */
000005D8 7E04 moveq.l D7, 0x04
000005DA 6016 bra +0x18 /* 000005F2 */
label000005DC:
000005DC 7008 moveq.l D0, 0x08
000005DE B047 cmp.w D0, D7
000005E0 6D04 blt +0x6 /* 000005E6 */
000005E2 7E08 moveq.l D7, 0x08
000005E4 600C bra +0xE /* 000005F2 */
label000005E6:
000005E6 7010 moveq.l D0, 0x10
000005E8 B047 cmp.w D0, D7
000005EA 6D04 blt +0x6 /* 000005F0 */
000005EC 7E10 moveq.l D7, 0x10
000005EE 6002 bra +0x4 /* 000005F2 */
label000005F0:
000005F0 7E20 moveq.l D7, 0x20
label000005F2:
000005F2 BE6E FFAE cmp.w D7, [A6 - 0x52]
000005F6 6C04 bge +0x6 /* 000005FC */
000005F8 3E2E FFAE move.w D7, [A6 - 0x52]
label000005FC:
000005FC 3D47 000C move.w [A6 + 0xC], D7
00000600 4CDF 00C0 movem.l D6,D7, [A7]+
00000604 4E5E unlink A6
00000606 2E9F move.l [A7], [A7]+
00000608 4E75 rts
0000060A 8F47 4554 pack D7, D7, 0x4554
0000060E 4D49 chk.w D6, A1
00000610 4E49 trap 9
00000612 4D55 chk.w D6, [A5]
00000614 4D44 chk.w D6, D4
00000616 4550 chk.w D2, [A0]
00000618 5448 addq.w A0, 2
0000061A 0000 .incomplete